//ex10_10_6.cpp
#ifndef MOVE_H__
#define MOVE_H__
#include <iostream>

class Move
{
    double x;
    double y;
    public:
        Move(double a = 0, double b = 0);   // sets x, y to a, b
        void showmove() const;                   // shows current x, y value
        Move add(const Move &m) const; 
        // this function adds x of m to x of invoking object to get new x,
        // adds y of m to y fo invoking object to get new y, creates a new 
        // move objdect intialized to new x, y values and returns it
        void reset(double a = 0, double b = 0);    // resets x, y to a, b
};
#endif